import service from ".";
import qs from "qs";
const adminApi = {
    login(admin){
        return service.post('/login',qs.stringify(admin));
    },
    top5(){
        return service.get('admin/info/top5');
    },
    getLoginInfo(){
        return service.get("/admin/info/adminInfo");
    }
}
export default adminApi;